Magnav shortnames are really 9 bytes, not 20, per Gary Paulson.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 24 Feb 2003 18:31:56 +0000 (18:31 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 24 Feb 2003 18:31:56 +0000 (18:31 +0000)
gpsbabel/magnav.c

index fbae0af40bb774b4cb515ff8cd7812230fd8142d..79c7452d5adda963842b17625163b108b9163ae2 100644 (file)
@@ -81,7 +81,7 @@ wr_init(const char *fname, const char *args)
                fatal(MYNAME ": Cannot open %s for writing\n", fname);
        }
        mkshort_handle = mkshort_new_handle();
-       setshort_length(mkshort_handle, 20);
+       setshort_length(mkshort_handle, 9);
 }
 
 static void